﻿using System;
using System.Windows.Forms;

namespace clasesBase
{
    public partial class FrmReporte : Form
    {
        public FrmReporte()
        {
            InitializeComponent();
        }

        public FrmReporte(string tabla)
        {
            this.nombreTabla = tabla;
            InitializeComponent();
        }

        private void FrmReporte_Load(object sender, EventArgs e)
        {
            this.report_viewer.RefreshReport();
        }

        private void FrmReporte_FormClosed(object sender, FormClosedEventArgs e)
        {
            this.report_viewer.Reset();
        }
    }
}
